* {
    padding: 0;
    margin: 0
}

body {
    background: rgb(238, 235, 229);
}

ul, ol {
    list-style: none;
}

#wrap {
    width: 320px;
    margin: 0 auto;
}

/* {{{ index */

.page-index .banner-box {
    background-color: #B3000D;
    width: 100%;
}

.page-index .banner {
    width: 320px;
    display: block;
    margin: 0 auto;
}

.page-index .rules {
    display: block;
    margin: 0 auto;
    width: 220px;
    /*margin-left: 50px;*/
    padding-bottom: 50px;
}

/* index }}} */

/* {{{ flm */

.page-flm .banner-box {
    background-color: #920005;
    width: 100%;
}

.page-flm .banner {
    width: 320px;
    display: block;
    margin: 0 auto;
}

.page-flm p {
    margin: 15px 30px;
    font-size: 14px;
    color: #777;
}

/* flm }}} */

/* {{{ detail */

.page-detail .banner-box {
    background-color: #B3000D;
    width: 100%;
}

.page-detail .banner {
    width: 320px;
    display: block;
    margin: 0 auto;
}

.page-detail .deal-period {
    text-align: center;
    color: #888;
    font-size: 14px;
}

.page-detail .deal-content-wrap {
    width: 100%;
    height: 90px;
    padding: 0 20px;
    box-sizing: border-box;
}

.page-detail .deal-content {
    background: #F6F5F1;
    display: block;
    width: 130px;
    height: 100%;
    margin-right: 20px;
    float: left;
    color: #888;
    padding: 10px;
    box-sizing: border-box;
    font-size: 12px;
}

.page-detail .deal-content-right {
    margin-right: 0;
}

.page-detail .deal-content-right {
    padding-top: 20px;
}

.page-detail .detail-actions {
    width: 280px;
    margin: 0 auto;
    display: block;
}

.page-detail .deal-prizes p {
    border: 1px solid #AFADA9;
    background: #F2F0E9;
    padding: 12px 12px 12px 50px;
    margin: 0 25px 0 100px;
    color: #888;
    font-size: 11px;
    line-height: 1.1;
}

.page-detail .deal-prizes li {
    position: relative;
    margin-bottom: 80px;
}

.page-detail .deal-prizes img {
    position: absolute;
    left: 30px;
    bottom: 0;
    width: 100px;
    z-index: 2;
}

.page-detail .deal-prize-1 img {
    bottom: -10px;
}

.page-detail .deal-prize-2 img {
    bottom: -10px;
    width: 140px;
    left: 10px;
}

.page-detail .deal-prize-3 img {
    bottom: -7px;
    left: 7px;
    width: 145px;

}

.page-detail .deal-prize-4 img {
    bottom: -10px;
    left: 10px;
    width: 140px;

}

.page-detail .deal-prizes p {
    position: relative;
    z-index: 1;
}

.page-detail ol {
    list-style: decimal inside;
    margin: 0 20px;
}

.page-detail ol li {
    color: #888;
    font-size: 12px;
    margin-bottom: 15px;
}

/*  detail }}} */

/* {{{ howto */

.page-howto .banner-box {
    width: 100%;
    height: 60px;
    background: #9F0818;
}

.page-howto .banner-box img {
    width: 90px;
    float: right;
    margin-right: 10px;
}

.page-howto .method-title {
    font-size: 18px;
    font-weight: bold;
    text-align: center;
    margin: 15px 0;
}

.page-howto ol {
    list-style: decimal inside;
    margin: 0 20px;
}

.page-howto ol li {
    color: #666;
    font-size: 12px;
    margin-bottom: 15px;
}

.page-howto .avatar {
    width: 80px;
    margin: 30px auto;
    display: block;
    box-shadow: 1px 1px 10px 1px rgba(0, 0, 0, 0.43);
}

.page-howto .hint {
    text-align: center;
    color: #990003;
    font-size: 12px;
    margin: 15px 0;
}

.page-howto .list-container {
    height: 70px;
    width: 100%;
    overflow-x: scroll;
    overflow-y: hidden;
    -webkit-overflow-scrolling: touch;
}

.page-howto .list {
    width: 720px;
    display: block;
    height: 70px;
}

.page-howto .list:after {
    content: '.';
    display: block;
    clear: both;
    visibility: hidden;
    height: 0;
}

.page-howto .list li,
.page-howto .list li img {
    display: block;
    width: 70px;
    height: 70px;
}

.page-howto .list li {
    float: left;
    margin-right: 10px;
}

/*  howto }}} */

/* {{{ progress */

.page-progress .banner-box {
    width: 100%;
    height: 60px;
    background: #9F0818;
}

.page-progress .banner-box img {
    width: 90px;
    float: right;
    margin-right: 10px;
}

.page-progress .title {
    font-size: 20px;
    font-weight: bold;
}

.page-progress .fu,
.page-progress .map {
    display: block;
    width: 260px;
    margin: 0 auto;
}

.page-progress ul {
    list-style: disc inside;
    text-align: center;
    color: #333;
    margin-top: 30px;
}

.page-progress .number {
    border-bottom: 1px dashed #333;
}

/*  progress }}} */

/* {{{ share */

.page-share .banner-box {
    width: 100%;
    height: 60px;
    background: #9F0818;
}

.page-share .banner-box img {
    width: 90px;
    float: right;
    margin-right: 10px;
}

.page-share .hurry {
    font-size: 14px;
    margin: 25px 0;
    color: #777777;
    text-align: center;
}

.page-share .photo {
    background: #fff;
    margin: 0 auto;
    width: 205px;
    height: 205px;
    padding: 5px 0 0 5px;
    box-shadow: 1px 1px 10px 0 rgba(0, 0, 0, 0.75);
}

.page-share .photo img {
    display: block;
    width: 200px;
    height: 200px;
    background: #aaa;
}

.page-share .share {
    color: #900;
    background: #fff;
}

.page-share .share img {
    width: 18px;
    vertical-align: middle;
}

.page-share .join-now {
    color: #fff;
    background: #900;

}

.page-share .name {
    margin: 25px auto 15px;
    color: #777;
    text-align: center;
    font-size: 14px;
}

.page-share .share,
.page-share .join-now {
    display: block;
    width: 90px;
    height: 26px;
    text-align: center;
    line-height: 26px;
    margin: 10px auto;
    font-size: 12px;
    box-shadow: 0.3px 0.3px 3px 0 rgba(0, 0, 0, 0.75);
    border-radius: 3px;
    text-decoration: none;
}

/* share }}} */

/* {{{ history */

.page-history .banner-box {
    width: 100%;
    height: 60px;
    background: #9F0818;
}

.page-history .banner-box img {
    width: 90px;
    float: right;
    margin-right: 10px;
}

.page-history .goback {
    margin: 15px auto 25px;
}

.page-history .history-list {
    margin: 15px auto 0;
    width: 240px;
    padding-left: 40px;
}

.page-history .history-list li {
    float: left;
    margin-right: 10px;
    margin-bottom: 10px;
}

.page-history .history-list a {
    display: block;
    color: #666;
    background: linear-gradient(to bottom, #F0F0F0 50%, #ddd 100%);
    border: 1px solid #ccc;
    border-radius: 3px;
    padding: 1px 3px;
    font-size: 11px;
}

/* history }}} */

/* {{{ common */
.nav-box {
    position: fixed;
    z-index: 999;
    bottom: 0;
    left: 50%;
    margin-left: -157px;
}

#fu {
    position: absolute;
    left: 5px;
    bottom: 0;
    z-index: 2;
    padding: 15px 7px 5px;
    background: #fcfbfa;
    background: -webkit-gradient(linear, left top, left bottom, color-stop(0%, #fcfbfa), color-stop(100%, #E6D7B8));
    background: -webkit-linear-gradient(top, #F6F0E4 0%, #E6D7B8 100%);
    background: -ms-linear-gradient(top, #F6F0E4 0%, #E6D7B8 100%);
    background: linear-gradient(to bottom, #F6F0E4 0%, #E6D7B8 100%);
    box-shadow: 1px 1px 10px 1px rgba(0, 0, 0, 0.43);
    border-radius: 5px;
}

#fu img {
    width: 50px;
}

.nav {
    z-index: 1;
    border-radius: 7px;
    margin-left: 70px;
    color: #2B2B2B;
    height: 32px;
    background: #fcfbfa;
    /*padding:0 15px;*/
    background: -webkit-gradient(linear, left top, left bottom, color-stop(0%, #fcfbfa), color-stop(100%, #e2e1e1));
    background: -webkit-linear-gradient(top, #fcfbfa 0%, #e2e1e1 100%);
    background: -ms-linear-gradient(top, #fcfbfa 0%, #e2e1e1 100%);
    background: linear-gradient(to bottom, #fcfbfa 0%, #e2e1e1 100%);
}

.nav li {
    border-right: 1px solid #D0D0CF;
}

.nav li,
.nav li a {
    display: inline-block;
    height: 32px;
    line-height: 32px;
    float: left;
    display: block;
    font-size: 10px;
    font-weight: bold;
    color: #A0151B;
    text-decoration: none;
}

.nav li a {
    padding: 0 7px;
    height: 100%
}

.nav li.current {
    background: #A0151B;
}

.nav li.current a {
    color: #fff;
}

.nav li:last-child {
    border: none;
}

.title {
    color: #A0151B;
    text-align: center;
    font-size: 16px;
    margin: 15px 0;
    font-weight: bold;
}

.split {
    background-color: #ccc;
    height: 1px;
    width: 100%;
    overflow: hidden;
    margin: 15px 0;
}

.clear-foot {
    content: " ";
    padding-top: 100px;
}

a {
    text-decoration: none;
}

.photo-grid {
    margin-left: 40px;
}

.photo-grid:after {
    content: '.';
    display: block;
    clear: both;
    visibility: hidden;
    height: 0;
}

.photo-grid li {
    text-align: center;
    display: block;
    height: 75px;
    width: 75px;
    overflow: hidden;
    float: left;
    position: relative;
    margin-right: 5px;
    margin-bottom: 5px;

}

.photo-grid .grid img {
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    position: absolute;
}

.action-button {
    display: block;
    text-align: center;
    background: #C1000F;
    color: #fff;
    font-size: 12px;
    height: 32px;
    line-height: 32px;
    width: 100px;
    margin: 5px auto 15px;
    border-radius: 3px;
    box-shadow: 1px 1px 1px 0px rgba(0, 0, 0, 0.75);
}

.current-time {
    text-align: center;
    color: #777;
    font-size: 12px;
    margin: 15px 0;
}

.clearfix:after {
    content: '.';
    display: block;
    clear: both;
    visibility: hidden;
    height: 0;
}

/* common }}} */

/* {{{ sumsung s4 */

@media (min-width: 360px) {
    #wrap {
        width: 360px;
        margin: 0 auto;
    }

    .photo-grid li {
        width: 80px;
        height: 80px;
    }

    .page-howto .list {
        padding-left: 20px;
    }
    .photo-grid {
        margin-left: 55px;
    }
    .page-detail .deal-content {
        width: 148px;
    }
}

/* sumsung s4 }}} */
